package com.eco.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.bean.Incomes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IncomesMapper extends BaseMapper<Incomes> {

    @Select("select * from incomes where source = #{source}")
    Incomes selectBySource(@Param("source") String source);
}
